package com.missilike.biz;

import com.missilike.biz.impl.MilAccountServiceImpl;
import com.missilike.core.result.CommonResult;
import com.missilike.domain.response.MilAccountInfo;
import com.missilike.repository.entity.MilFollowRelationship;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author pengpengli
 * @since 2018-12-19
 */
public interface IMilFollowRelationshipService extends IService<MilFollowRelationship> {

    List<MilAccountInfo> watchingUsers(String userId);

    List<MilAccountInfo> getFollowuser(String userId);

    Integer getBeFollowedCount(String userId);

    CommonResult InsertRelationship(String accountId, String followAccountId);

    CommonResult deleteRelationship(String accountId, String followAccountId);

    boolean isAFollowB(String followId, String id);

    void setFollowRelationshipService(MilAccountServiceImpl milAccountService);

    void addMutualConcern(String accountId,String friendAccountId);

    void deleteMutualConcern(String accountId,String friendAccountId);
}
